<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>我的树莓</title>
    <link href="js/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

  </head>
  <body>
<div class="panel  panel-primary">
	<div class="panel-heading">系统资源</div>
	<div class="panel-body">
	
<div class="row">
  <div class="col-xs-6">
			<button class="btn btn-success" type="button" id="cputempBtn">
          CPU温度 <span class="badge" id="cputemp">0</span>
               </button>
  
  </div>
  <div class="col-xs-6">
						<button class="btn btn-warning" type="button" id="uptimeBtn">
						运行时长<span class="badge" id="uptime">0</span>
               </button>
  </div>
</div>
<br/>
<div class="row">

  <div class="col-xs-12">
			<div class="progress">
				<div id="memDiv" class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
				</div>
				</div>
	</div>
</div>
  </div>
  </div>
<!--上传文件-->
<div class="panel  panel-primary">
	<div class="panel-heading">上传文件</div>
	<div class="panel-body">
		
		
		<div class="row">
			<form  id="uploadForm" action="/upload" method="post" enctype="multipart/form-data">
  <div class="col-lg-12">
    <div class="input-group">
      <input   name="file" type="file" class="form-control">
      <span class="input-group-btn">
        <button  class="btn btn-default" type="button" id="uploadBtn">upload</button>
      </span>
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
  </form>
</div><!-- /.row -->
		
		
		

	</div>
</div>
<!--  end-->
<div class="list-group">
	<a href="#" class="list-group-item active">
        当前位置：<%=parent %>
  </a>
	
  <% for(var i=0; i<files.length; i++) {%>
   <a  href="/?phstr=<%=parent %><%= files[i] %>"   class="list-group-item"><%= files[i] %></a>
<% } %>
</div>


    
    
 <script type="text/javascript" src="js/jquery/jquery.min.js"></script>
  <script type="text/javascript" src="js/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/index.js"></script>
  </body>
</html>
